package cn.stylefeng.guns.modular.recommend.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 推荐商品
 * </p>
 *
 * @author lcw
 * @since 2019-11-18
 */
@TableName("tao_recommend_goods")
public class TaoRecommendGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableField("good_id")
    private String goodId;

    /**
     * 商品图片
     */
    @TableField("pic")
    private String pic;

    /**
     * 商品分类
     */
    @TableField("good_type")
    private String goodType;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 1：商品 2：分类
     */
    @TableField("status")
    private Integer status;


    public String getGoodId() {
        return goodId;
    }

    public void setGoodId(String goodId) {
        this.goodId = goodId;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getGoodType() {
        return goodType;
    }

    public void setGoodType(String goodType) {
        this.goodType = goodType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TaoRecommendGoods{" +
        "goodId=" + goodId +
        ", pic=" + pic +
        ", goodType=" + goodType +
        ", createTime=" + createTime +
        ", status=" + status +
        "}";
    }
}
